package com.ncu.cloundeoffice.service;

import com.ncu.cloundeoffice.pojo.ResponseResult;
import com.ncu.cloundeoffice.pojo.TSalary;

import java.util.List;

public interface TSalaryService {

    /**
     * 查询所有的工资账套
     * @return
     */
    List<TSalary> getAllTSalary();

    /**
     * 删除工资账套
     * @param id
     * @return
     */
    ResponseResult deleteSalaryById(int id);

    /**
     * 添加工资账套
     * @param tSalary
     * @return
     */
    ResponseResult addSalary(TSalary tSalary);

    /**
     * 更新工资账套
     * @param tSalary
     * @return
     */
    ResponseResult updateSalary(TSalary tSalary);
}
